package agent

import "gateway/util"

type ServiceDiscover struct {
	Service string
	Address []string
}

func (discover ServiceDiscover) ServiceDiscover() {
	array := util.DiscoverService("", discover.Service, discover.Service)
	discover.Address = array[discover.Service]
}
